package com.lyy.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;

/** @author JoeZhou */
@Data
//调用父类
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class Video extends BaseEntity {
    private Integer videoId;
    private String videoTitle;
    private String author;
    private String videoInfo;
    private String summaryImage;
    private String coverImage;
    private Double price;
    private Integer star;
    /** 每个视频拥有多个章，1:N */
    private List<Chapter> chapters;
}